package com.lhhu.demo.service;

import com.lhhu.demo.bean.UserInfo;

import java.util.List;

/**
 * @Auther 虎
 * @Data 2021/3/14 18:41
 * @Version 1.0
 */
public interface UserService {
    int addOneUser(UserInfo userInfo);
    List<UserInfo> selectUserByOpenid(String openid);
    List<UserInfo> getAllUser();
    List<UserInfo> getUserByName(String nickName);
    List<UserInfo> getUserByGender(String gender);
    List<UserInfo> getUserByTag(String gender);
    int updateUserMessage(String codes,UserInfo userInfo);
    int deleteOneUser(String codes,String openid);
}
